@echo off
if not exist "..\omp\Release\islsp_omp.exe" (echo ERROR: ..\omp\Release\islsp_omp.exe not found
echo Please build project islsp_omp
goto :eof
)

for %%S in (0 1 2 3) do for %%T in (1) do (call :run %%S %%T mlf_sr sa_gn)
goto :eof

:run
echo randseed: %1, threads: %2
if not exist "..\res\sample\%3\%1" @mkdir "..\res\sample\%3\%1"
set OMP_NUM_THREADS=%2
"..\omp\Release\islsp_omp.exe" %1 "sample.xml" %4 > "..\res\sample\%3\%1\%2.%4.omp.txt"
rem pause